<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html lang="en">
 <head>
  <title>Testcase, bug 299065</title>
  <style type="text/css">
  p    { border: thin solid; background: aqua;   color: blue;  }
  span { background: yellow; color: olive; }
  </style>
 </head>
 <body>
  <p>AA<span>AA</span><span>&#x5D0;&#x5D0;</span>&#x5D0;&#x5D0;</p>
 </body>
</html>
